﻿using System;
using System.Collections.Generic;
using Me.Prettyprint.Cassandra.Serializers;
using Me.Prettyprint.Cassandra.Service;
using Me.Prettyprint.Cassandra.Utils;
using Me.Prettyprint.Hector.Api;
using Me.Prettyprint.Hector.Api.Beans;
using Me.Prettyprint.Hector.Api.Factory;
using Me.Prettyprint.Hector.Api.Query;
using Org.Apache.Cassandra.Thrift;

namespace Me.Prettyprint.Cassandra.Model.Thrift
{
    /// <summary>
    /// Thrift implementation of SubColumnQuery
    /// </summary>
    /// <typeparam name="K">key type</typeparam>
    /// <typeparam name="SN">supercolumn name type</typeparam>
    /// <typeparam name="N">column name type</typeparam>
    /// <typeparam name="V">column value type</typeparam>
    public class ThriftSubColumnQuery<K, SN, N, V> : AbstractSubColumnQuery<K, SN, N, V>, SubColumnQuery<K, SN, N, V>
    {
        public ThriftSubColumnQuery(Keyspace keyspace, Serializer<K> keySerializer,
            Serializer<SN> sNameSerializer, Serializer<N> nameSerializer, Serializer<V> valueSerializer) :
            base(keyspace, keySerializer, sNameSerializer, nameSerializer, valueSerializer)
        {
        }

    }
}
